<?= $this->doctype(); ?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <?  $this->headTitle()->setPrefix('escoreboar.com');
            $this->headLink()->appendStylesheet('/css/a.css');
            $this->headLink()->appendStylesheet('/css/jquery-ui-1.8.13.custom.css');
            $this->jQuery()->setLocalPath('/js/jquery.min.js');
        echo $this->headTitle();
        echo $this->jQuery();
        echo $this->headLink();
        echo $this->headScript();
        
        ?>
    </head>
<body>
    <div id="header">
        <div>
            <a href="/" class="logo">Escoreboar.com</a>
            
        
            <div class="user_login_box" nowrap>
                        <?php
                        $auth = Zend_Auth::getInstance ();
                        if (!$auth->hasIdentity()) {
                            echo '<a href="/user/register">new user</a> or ';
                            echo '<a href="/auth/login">login</a>';
                        } else {
                            $auth_username = $auth->getIdentity()->username;
                            echo 'hello,<b>&nbsp;<a href="/profile/'.$this->escape($auth_username).'">'.$this->escape($auth_username).'</a></b> | '.'<a href="/auth/logout">logout</a>';
                        } ?>
            </div>

            <form><input type="text" name="search" /><input type="submit" value="search" /></form>
        </div>
    </div>
    <div id="content">
    <?=$this->layout()->content ?>
    </div>
    <div id="footer"><div>2011 - Escoreboar - licencia GPL</div></div>
</body>
</html>